package io.renren.modules.project.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.project.dao.ProjectApplicantInfoDao;
import io.renren.modules.project.entity.ProjectApplicantInfoEntity;
import io.renren.modules.project.service.ProjectApplicantInfoService;



@Service("projectApplicantInfoService")
public class ProjectApplicantInfoServiceImpl implements ProjectApplicantInfoService {
	@Autowired
	private ProjectApplicantInfoDao projectApplicantInfoDao;
	
	@Override
	public ProjectApplicantInfoEntity queryObject(String id){
		return projectApplicantInfoDao.queryObject(id);
	}
	
	@Override
	public List<ProjectApplicantInfoEntity> queryList(Map<String, Object> map){
		return projectApplicantInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return projectApplicantInfoDao.queryTotal(map);
	}
	
	@Override
	public void save(ProjectApplicantInfoEntity projectApplicantInfo){
		projectApplicantInfoDao.save(projectApplicantInfo);
	}
	
	@Override
	public void update(ProjectApplicantInfoEntity projectApplicantInfo){
		projectApplicantInfoDao.update(projectApplicantInfo);
	}
	
	@Override
	public void delete(String id){
		projectApplicantInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		projectApplicantInfoDao.deleteBatch(ids);
	}

	@Override
	public List<ProjectApplicantInfoEntity> queryAll(){
		return projectApplicantInfoDao.queryAll();
	}
	
}
